<!--
 * @Description: 
 * @Date: 2024-06-17 17:26:27
 * @LastEditTime: 2024-06-17 17:34:42
-->
<route lang="json5">
{
  style: {
    navigationBarTitleText: '公众号',
    navigationBarTextStyle: 'white', //标题栏字体颜色
    navigationBarBackgroundColor: '#0063AF', //标题栏背景色(纯色)
  },
}
</route>
<template>
  <view>
    <web-view :webview-styles="webviewStyles" :src="pageUrl"></web-view>
  </view>
</template>
<script setup lang="ts">
const pageUrl = ref('')
onLoad((options) => {
  pageUrl.value = options.url
  console.log(pageUrl)
})
const webviewStyles = ref({
  progress: {
    color: '#FF3333',
  },
})
</script>
